GetEncodedResponseRequest

data class GetEncodedResponseRequest(requestId: RequestId, encoding: String, quality: Double?, sizeOnly: Boolean?)

Represents request frame that can be used with Audits#getEncodedResponse operation call.

Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.

See also

Constructors

GetEncodedResponseRequest
Link copied to clipboard
fun GetEncodedResponseRequest(requestId: RequestId, encoding: String, quality: Double? = null, sizeOnly: Boolean? = null)

Properties

encoding
Link copied to clipboard
val encoding: String
The encoding to use.
quality
Link copied to clipboard
val quality: Double? = null
The quality of the encoding (0-1).
requestId
Link copied to clipboard
val requestId: RequestId
Identifier of the network request to get content for.
sizeOnly
Link copied to clipboard
val sizeOnly: Boolean? = null
Whether to only return the size information (defaults to false).

Sources

jvm source
Link copied to clipboard